package com.tju.resource.business.tb_bom;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tju.resource.model.TbBom;
import com.tju.resource.result.Result;

import java.util.List;

/**
 *
 */
public interface TbBomService extends IService<TbBom> {

    Result<List<TbBom>> getAll(JSONObject params);

    Result<TbBom> byNo(JSONObject params);

    Result<Object> upd(TbBom bom);

    Result<Object> add(TbBom bom);

}
